GDK-Win32: Port to common EGL handling code
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 7 Oct 2021 07:44:38 +0000 (15:44 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 8 Nov 2021 07:25:24 +0000 (15:25 +0800)
commit048fe84888b39199338c6e8100b4bc0797c8add5
tree9c054887bcbda7ba97ca1bf3ab51dd214088b921
parent480031439f8002b40d1d6f47d91247072b4a8f6f
GDK-Win32: Port to common EGL handling code

This will port the EGL code in GDK-Win32 to use the common GDK code to
initialize EGL.  However, at the current state, although EGL is
correctly initialized, this code is disabled for now since
gdk_gl_context_make_current() fails as the shaders do not work for EGL
via libANGLE on Windows.

We can now clean things up in gdkglcontext-win32-egl.c as a result.
gdk/win32/gdkdisplay-win32.c
gdk/win32/gdkdisplay-win32.h
gdk/win32/gdkglcontext-win32-egl.c
gdk/win32/gdkglcontext-win32-wgl.c
gdk/win32/gdksurface-win32.c
gdk/win32/gdksurface-win32.h